<?php
/**
 * Rooms View for RoomBooking Component
 * 
 * @package    Joomla.RoomBooking
 * @subpackage Components
 * @license        GNU/GPL
 */
 
// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
 
jimport( 'joomla.application.component.view' );
 
class RoomBookingViewRooms extends JView
{
    /**
     * Rooms view display method
     * @return void
     **/
    function display($tpl = null)
    {
        JToolBarHelper::title( JText::_( 'ROOMMAN' ), 'generic.png' );
        JToolBarHelper::back('コントロールパネル', 'index.php');
        JToolBarHelper::deleteList();
        JToolBarHelper::editListX();
        JToolBarHelper::addNewX();
 
        // Get data from the model
        $items =& $this->get( 'Data');
 
        $this->assignRef( 'items', $items );
 
        parent::display($tpl);
    }
}
